package com.qzw.study.xml;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 屈子威
 * @date 2020/9/16 3:57
 * @description
 */
public class XmlMainClass {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:application.xml");
		context.getBean("user", User.class);
		System.out.println("context.getBean: " + context.getBean("user", User.class).getDao());
	}
}
